package project.bluetooth.com.loadsirproject.dialog;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.DialogFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.Window;

import project.bluetooth.com.loadsirproject.R;

/**
 * Created by lgs on 2018/4/20.
 */

public class EditNameDialogFragment extends DialogFragment {

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {

        if (getResources().getBoolean(R.bool.large_layout)) {

            getDialog().requestWindowFeature(Window.FEATURE_NO_TITLE);
        }
        return inflater.inflate(R.layout.dialog_layout, container, false);
    }
}
